﻿@model TCM.Instructor

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Instructor</legend>
    <ol>
    <li class="display-label">
         @Html.DisplayNameFor(model => model.InstructorID)
   
        @Html.DisplayFor(model => model.InstructorID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Name)
   
        @Html.DisplayFor(model => model.Name)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.NameAr)
   
        @Html.DisplayFor(model => model.NameAr)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.NATIONALID)
    
        @Html.DisplayFor(model => model.NATIONALID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Email1)
  
        @Html.DisplayFor(model => model.Email1)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Email2)
   
        @Html.DisplayFor(model => model.Email2)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Mobile1)
   
        @Html.DisplayFor(model => model.Mobile1)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Mobile2)
   
        @Html.DisplayFor(model => model.Mobile2)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Address)
   
        @Html.DisplayFor(model => model.Address)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ADDRESSAR)
  
        @Html.DisplayFor(model => model.ADDRESSAR)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Phone)
   
        @Html.DisplayFor(model => model.Phone)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Education)
   
        @Html.DisplayFor(model => model.Education)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.OtherDetails)
    
        @Html.DisplayFor(model => model.OtherDetails)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.USERID)
   
        @Html.DisplayFor(model => model.USERID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Salary)
   
        @Html.DisplayFor(model => model.Salary)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.WorkingHours)
    
        @Html.DisplayFor(model => model.WorkingHours)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Experience)

        @Html.DisplayFor(model => model.Experience)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.DeleteCode)
    
        @Html.DisplayFor(model => model.DeleteCode)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.StatusID)
  
        @Html.DisplayFor(model => model.StatusID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedBy)
   
        @Html.DisplayFor(model => model.CreatedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedOn)
   
        @Html.DisplayFor(model => model.CreatedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedBy)
  
        @Html.DisplayFor(model => model.ModifiedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedOn)
    
        @Html.DisplayFor(model => model.ModifiedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.OwnerID)
  
        @Html.DisplayFor(model => model.OwnerID)
    </li
        
        </ol>
    <div>
    @foreach (var course in Model.Courses)
    {
        Html.RenderPartial("instracuredetails", course);
    }
    </div>
   
</fieldset>

<p>
    @Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) |
    @Html.ActionLink("Back to List", "Index")
</p>
